package com.chtw.vuedemo.bean;

import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author chtw
 * @date 2020-10-05 13:00
 */
@Document("goods")
@Data
public class Goods {
    @Id
    private ObjectId _id;

    private int id;
    private String title;
    private String add_time;
    private String zhaiyao;
    private int click;
    private String img_url;
    private int sell_price;
    private int market_price;
    private int stock_quantity;
}
